<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        div{
            color: red;
        }
        #name{
            color: blue;
        }
        .cls{
            color: aqua;
        }




    </style>

</head>
<body>

    <div>div1</div>
    <div id="name">div2</div>
    <div class="cls">div3</div>

    <samp class="cls">name</samp>

</body>
</html>